﻿<ResourceDictionary 
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:Microsoft_Windows_Themes="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Classic" 
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
	xmlns:Controls="clr-namespace:PSE.Deployment.ConfigurationManager.Controls;assembly=PSE.Deployment.ConfigurationManager.Controls"
    xmlns:SetupControls="clr-namespace:PSE.Deployment.SetupBase.UI;assembly=PSE.Deployment.SetupBase"
	xmlns:UI="clr-namespace:PSE.Deployment.ConfigurationManager.UI;assembly=PSE.Deployment.ConfigurationManager.UI">

	<!-- INI CONFIGURATION MANAGER -->
    <Style x:Key="ServiceConfigurationStyle" TargetType="{x:Type Controls:ServiceControl}">
        <Setter Property="BorderThickness" Value="1"/>
        <Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.WindowTextBrushKey}}"/>
        <Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.WindowBrushKey}}"/>
        <Setter Property="KeyboardNavigation.TabNavigation" Value="None"/>
        <Setter Property="HorizontalContentAlignment" Value="Left"/>
        <Setter Property="VerticalContentAlignment" Value="Center"/>
        <Setter Property="FocusVisualStyle" Value="{x:Null}"/>
        <Setter Property="AllowDrop" Value="true"/>
        <Setter Property="Width" Value="450"/>
        <Setter Property="MinHeight" Value="30"/>
        <Setter Property="Margin" Value="4,0,0,0"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type Controls:ServiceControl}">
                    <Grid x:Name="PART_Content">
                        <Grid.RowDefinitions>
                            <RowDefinition Height="30"></RowDefinition>
                        </Grid.RowDefinitions>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="*"/>
                            <ColumnDefinition Width="Auto"/>
                            <ColumnDefinition Width="Auto"/>
                        </Grid.ColumnDefinitions>
                        <Viewbox Grid.Row="0" Grid.Column="0" HorizontalAlignment="Left" Margin="0,8,0,0" VerticalAlignment="Top" Width="8" Height="9" x:Name="IconLevel1">
                            <Canvas Width="8" Height="9">
                                <Rectangle Width="8" Height="9" Canvas.Left="0" Canvas.Top="0" Stretch="Fill" Fill="#FF5C6975"/>
                                <Path Width="3.89963" Height="6.16821" Canvas.Left="2.22913" Canvas.Top="1.49988" Stretch="Fill" Fill="#FFFFFFFF" Data="F1 M 6.12875,4.58398L 2.22913,1.49988L 2.22913,7.66809L 6.12875,4.58398 Z "/>
                            </Canvas>
                        </Viewbox>
                        <Label x:Name="PART_ServiceName" Grid.Row="0" Grid.Column="0" Margin="10,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Style="{DynamicResource LabelFontLeft}" />
                        <Controls:StartStopButton x:Name="PART_ToggleButton" Grid.Row="0" Grid.Column="1" Style="{DynamicResource ButtonActive}" Width="105" />
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <!-- FIM CONFIGURATION MANAGER -->
</ResourceDictionary>